<?php


namespace App\Request\Business\User;

use App\Request\RequestAbstract;

/**
 * 检查密码
 *
 *  @author eug(1196070838@qq.com)
 * Class CheckPwdRequest
 * @package App\Request\Business\User
 */
class CheckPwdRequest  extends RequestAbstract
{
    /**
     * Determine if the user is authorized to make this request.
     */
    public function authorize(): bool
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     */
    public function rules(): array
    {
        return [
            'pwd' => 'required',
        ];
    }
}